Also modify installed headers to search for FTGL headers in
the right directory. This is not needed to build opencascade,
but may help people including those headers.
And last, fix usage of FTGL, FTFace is an internal structure
of FTGL and is no more exported.
Drop utsname usage for unknown architectures. It is misused and
prevent compilation on these architectures, see for instance
http://buildd.debian-ports.org/fetch.php?pkg=opencascade&arch=kfreebsd-i386&ver=6.3.0.dfsg.1-3&stamp=1237965784&file=log&as=raw
http://buildd.debian-ports.org/fetch.php?pkg=opencascade&arch=hurd-i386&ver=6.3.0.dfsg.1-3&stamp=1238775033&file=log&as=raw
Error message is:
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx: In static member function 'static Standard_Boolean Visual3d_TransientManager::BeginDraw(const Handle_Visual3d_View&, Standard_Boolean, Standard_Boolean)':
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:123:70: error: taking address of temporary [-fpermissive]
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:127:68: error: taking address of temporary [-fpermissive]
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx: In static member function 'static void Visual3d_TransientManager::ClearDraw(const Handle_Visual3d_View&, Standard_Boolean)':
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:192:77: error: taking address of temporary [-fpermissive]
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:194:75: error: taking address of temporary [-fpermissive]
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx: In static member function 'static Standard_Boolean Visual3d_TransientManager::BeginAddDraw(const Handle_Visual3d_View&)':
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:232:79: error: taking address of temporary [-fpermissive]
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:234:77: error: taking address of temporary [-fpermissive]
Workaround poor performance of the new mesher in OCC 6.5.0 with B-spline surfaces
The new mesher in OCC 6.5.0 is more robust, but also produces much
larger meshes on B-spline surfaces. Until this bug is fixed, it
seems better to use the generic procedure.
Patch provided by Jérôme Robert.
See http://www.opencascade.org/org/forum/thread_20076/
Gbp-Pq: Topic submitted
Gbp-Pq: Name workaround-bug-mesher.patch
[ Denis Barbier ]
* Add debian/patches/submitted/ftbfs-g++4.6.patch
Fix FTBFS with g++ 4.6. Closes: #624943
* Add debian/patches/submitted/fix-Abs-parenthesis.patch
Fix misplaced parenthesis, patch by Fotios Sioutis
on the OpenCascade forum.
* debian/patches/hurd-fixes.patch: Rename ED variable into
EData, as ED is a macro defined in errno.h on the Hurd.
* Fix sparc v9 detection in fix-asm.patch to fix FTBFS
on sparc64.
* Fix debian/patches/compatibility-occ630-Value.patch: the
old Value() method did return a distance whereas
SquareDistance() now returns a square distance, so Value()
must call sqrt(). Thanks to Roman Lygin and Mikhail Sazonov
for the catch on the OpenCASCADE forum.
[ Adam C. Powell, IV ]
* Bumped Standards-Version to 3.9.2, no changes needed.